package com.ourteam.workspace.service;

/**
 *
 * Template Name : 业务服务实现基类
 * Template Version : 1
 * Template Last Modfiy Date : Mon Nov 06 10:52:01 CST 2017
 * Auto Generate Date : 2018-01-28 10:55:18
  * Warning ! This file will be overwrite when regenerate !
  *
 */
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;


abstract class AbstractWorkspaceService extends net.service.DefaultServiceImpl
    implements IWorkspaceService {
    protected static final Log logger = LogFactory.getLog(AbstractWorkspaceService.class);

    /**
     * Workspace DAO Instance
    */
    protected com.ourteam.workspace.dao.IWorkspaceDAO workspaceDao;

    /**
     * WorkspaceResource DAO Instance
    */
    protected com.ourteam.workspace.dao.IWorkspaceResourceDAO workspaceResourceDao;

    /**
     * WorkspaceResourceBusinessPackageRelate DAO Instance
    */
    protected com.ourteam.workspace.dao.IWorkspaceResourceBusinessPackageRelateDAO workspaceResourceBusinessPackageRelateDao;

    /**
     * WorkspaceConfig DAO Instance
    */
    protected com.ourteam.workspace.dao.IWorkspaceConfigDAO workspaceConfigDao;

    /**
     * WorkspaceConfigProperty DAO Instance
    */
    protected com.ourteam.workspace.dao.IWorkspaceConfigPropertyDAO workspaceConfigPropertyDao;

    /**
     * WorkspaceScmConfig DAO Instance
    */
    protected com.ourteam.workspace.dao.IWorkspaceScmConfigDAO workspaceScmConfigDao;

    /**
     * WorkspaceBuildConfig DAO Instance
    */
    protected com.ourteam.workspace.dao.IWorkspaceBuildConfigDAO workspaceBuildConfigDao;

    /**
     * WorkspaceBuildLog DAO Instance
    */
    protected com.ourteam.workspace.dao.IWorkspaceBuildLogDAO workspaceBuildLogDao;

    /**
     * WorkspaceScmChangePathLog DAO Instance
    */
    protected com.ourteam.workspace.dao.IWorkspaceScmChangePathLogDAO workspaceScmChangePathLogDao;

    /**
     * WorkspaceScmLog DAO Instance
    */
    protected com.ourteam.workspace.dao.IWorkspaceScmLogDAO workspaceScmLogDao;

    /**
     * WorkspaceMember DAO Instance
    */
    protected com.ourteam.workspace.dao.IWorkspaceMemberDAO workspaceMemberDao;

    /**
     * WorkspaceServer DAO Instance
    */
    protected com.ourteam.workspace.dao.IWorkspaceServerDAO workspaceServerDao;

    /**
     * WorkspaceFileTypeConfig DAO Instance
    */
    protected com.ourteam.workspace.dao.IWorkspaceFileTypeConfigDAO workspaceFileTypeConfigDao;

    /**
     * WorkspaceCompiler DAO Instance
    */
    protected com.ourteam.workspace.dao.IWorkspaceCompilerDAO workspaceCompilerDao;

    /**
     * WorkspaceProductDatabaseRelate DAO Instance
    */
    protected com.ourteam.workspace.dao.IWorkspaceProductDatabaseRelateDAO workspaceProductDatabaseRelateDao;

    /**
     * WorkspaceProductDatabaseModelRelate DAO Instance
    */
    protected com.ourteam.workspace.dao.IWorkspaceProductDatabaseModelRelateDAO workspaceProductDatabaseModelRelateDao;

    /**
     *  SysUserService Instance
    */
    protected com.ourteam.system.service.ISysUserService sysUserService;

    /**
     * WorkspaceResourceUIPageRelate DAO Instance
    */
    protected com.ourteam.workspace.dao.IWorkspaceResourceUIPageRelateDAO workspaceResourceUIPageRelateDao;

    /**
         *  Get Workspace DAO Instance
         */
    public com.ourteam.workspace.dao.IWorkspaceDAO getWorkspaceDao() {
        return workspaceDao;
    }

    /**
         *  Set Workspace DAO Instance
         */
    public void setWorkspaceDao(com.ourteam.workspace.dao.IWorkspaceDAO aDao) {
        workspaceDao = aDao;
    }

    /**
         *  Get WorkspaceResource DAO Instance
         */
    public com.ourteam.workspace.dao.IWorkspaceResourceDAO getWorkspaceResourceDao() {
        return workspaceResourceDao;
    }

    /**
         *  Set WorkspaceResource DAO Instance
         */
    public void setWorkspaceResourceDao(
        com.ourteam.workspace.dao.IWorkspaceResourceDAO aDao) {
        workspaceResourceDao = aDao;
    }

    /**
         *  Get WorkspaceResourceBusinessPackageRelate DAO Instance
         */
    public com.ourteam.workspace.dao.IWorkspaceResourceBusinessPackageRelateDAO getWorkspaceResourceBusinessPackageRelateDao() {
        return workspaceResourceBusinessPackageRelateDao;
    }

    /**
         *  Set WorkspaceResourceBusinessPackageRelate DAO Instance
         */
    public void setWorkspaceResourceBusinessPackageRelateDao(
        com.ourteam.workspace.dao.IWorkspaceResourceBusinessPackageRelateDAO aDao) {
        workspaceResourceBusinessPackageRelateDao = aDao;
    }

    /**
         *  Get WorkspaceConfig DAO Instance
         */
    public com.ourteam.workspace.dao.IWorkspaceConfigDAO getWorkspaceConfigDao() {
        return workspaceConfigDao;
    }

    /**
         *  Set WorkspaceConfig DAO Instance
         */
    public void setWorkspaceConfigDao(
        com.ourteam.workspace.dao.IWorkspaceConfigDAO aDao) {
        workspaceConfigDao = aDao;
    }

    /**
         *  Get WorkspaceConfigProperty DAO Instance
         */
    public com.ourteam.workspace.dao.IWorkspaceConfigPropertyDAO getWorkspaceConfigPropertyDao() {
        return workspaceConfigPropertyDao;
    }

    /**
         *  Set WorkspaceConfigProperty DAO Instance
         */
    public void setWorkspaceConfigPropertyDao(
        com.ourteam.workspace.dao.IWorkspaceConfigPropertyDAO aDao) {
        workspaceConfigPropertyDao = aDao;
    }

    /**
         *  Get WorkspaceScmConfig DAO Instance
         */
    public com.ourteam.workspace.dao.IWorkspaceScmConfigDAO getWorkspaceScmConfigDao() {
        return workspaceScmConfigDao;
    }

    /**
         *  Set WorkspaceScmConfig DAO Instance
         */
    public void setWorkspaceScmConfigDao(
        com.ourteam.workspace.dao.IWorkspaceScmConfigDAO aDao) {
        workspaceScmConfigDao = aDao;
    }

    /**
         *  Get WorkspaceBuildConfig DAO Instance
         */
    public com.ourteam.workspace.dao.IWorkspaceBuildConfigDAO getWorkspaceBuildConfigDao() {
        return workspaceBuildConfigDao;
    }

    /**
         *  Set WorkspaceBuildConfig DAO Instance
         */
    public void setWorkspaceBuildConfigDao(
        com.ourteam.workspace.dao.IWorkspaceBuildConfigDAO aDao) {
        workspaceBuildConfigDao = aDao;
    }

    /**
         *  Get WorkspaceBuildLog DAO Instance
         */
    public com.ourteam.workspace.dao.IWorkspaceBuildLogDAO getWorkspaceBuildLogDao() {
        return workspaceBuildLogDao;
    }

    /**
         *  Set WorkspaceBuildLog DAO Instance
         */
    public void setWorkspaceBuildLogDao(
        com.ourteam.workspace.dao.IWorkspaceBuildLogDAO aDao) {
        workspaceBuildLogDao = aDao;
    }

    /**
         *  Get WorkspaceScmChangePathLog DAO Instance
         */
    public com.ourteam.workspace.dao.IWorkspaceScmChangePathLogDAO getWorkspaceScmChangePathLogDao() {
        return workspaceScmChangePathLogDao;
    }

    /**
         *  Set WorkspaceScmChangePathLog DAO Instance
         */
    public void setWorkspaceScmChangePathLogDao(
        com.ourteam.workspace.dao.IWorkspaceScmChangePathLogDAO aDao) {
        workspaceScmChangePathLogDao = aDao;
    }

    /**
         *  Get WorkspaceScmLog DAO Instance
         */
    public com.ourteam.workspace.dao.IWorkspaceScmLogDAO getWorkspaceScmLogDao() {
        return workspaceScmLogDao;
    }

    /**
         *  Set WorkspaceScmLog DAO Instance
         */
    public void setWorkspaceScmLogDao(
        com.ourteam.workspace.dao.IWorkspaceScmLogDAO aDao) {
        workspaceScmLogDao = aDao;
    }

    /**
         *  Get WorkspaceMember DAO Instance
         */
    public com.ourteam.workspace.dao.IWorkspaceMemberDAO getWorkspaceMemberDao() {
        return workspaceMemberDao;
    }

    /**
         *  Set WorkspaceMember DAO Instance
         */
    public void setWorkspaceMemberDao(
        com.ourteam.workspace.dao.IWorkspaceMemberDAO aDao) {
        workspaceMemberDao = aDao;
    }

    /**
         *  Get WorkspaceServer DAO Instance
         */
    public com.ourteam.workspace.dao.IWorkspaceServerDAO getWorkspaceServerDao() {
        return workspaceServerDao;
    }

    /**
         *  Set WorkspaceServer DAO Instance
         */
    public void setWorkspaceServerDao(
        com.ourteam.workspace.dao.IWorkspaceServerDAO aDao) {
        workspaceServerDao = aDao;
    }

    /**
         *  Get WorkspaceFileTypeConfig DAO Instance
         */
    public com.ourteam.workspace.dao.IWorkspaceFileTypeConfigDAO getWorkspaceFileTypeConfigDao() {
        return workspaceFileTypeConfigDao;
    }

    /**
         *  Set WorkspaceFileTypeConfig DAO Instance
         */
    public void setWorkspaceFileTypeConfigDao(
        com.ourteam.workspace.dao.IWorkspaceFileTypeConfigDAO aDao) {
        workspaceFileTypeConfigDao = aDao;
    }

    /**
         *  Get WorkspaceCompiler DAO Instance
         */
    public com.ourteam.workspace.dao.IWorkspaceCompilerDAO getWorkspaceCompilerDao() {
        return workspaceCompilerDao;
    }

    /**
         *  Set WorkspaceCompiler DAO Instance
         */
    public void setWorkspaceCompilerDao(
        com.ourteam.workspace.dao.IWorkspaceCompilerDAO aDao) {
        workspaceCompilerDao = aDao;
    }

    /**
         *  Get WorkspaceProductDatabaseRelate DAO Instance
         */
    public com.ourteam.workspace.dao.IWorkspaceProductDatabaseRelateDAO getWorkspaceProductDatabaseRelateDao() {
        return workspaceProductDatabaseRelateDao;
    }

    /**
         *  Set WorkspaceProductDatabaseRelate DAO Instance
         */
    public void setWorkspaceProductDatabaseRelateDao(
        com.ourteam.workspace.dao.IWorkspaceProductDatabaseRelateDAO aDao) {
        workspaceProductDatabaseRelateDao = aDao;
    }

    /**
         *  Get WorkspaceProductDatabaseModelRelate DAO Instance
         */
    public com.ourteam.workspace.dao.IWorkspaceProductDatabaseModelRelateDAO getWorkspaceProductDatabaseModelRelateDao() {
        return workspaceProductDatabaseModelRelateDao;
    }

    /**
         *  Set WorkspaceProductDatabaseModelRelate DAO Instance
         */
    public void setWorkspaceProductDatabaseModelRelateDao(
        com.ourteam.workspace.dao.IWorkspaceProductDatabaseModelRelateDAO aDao) {
        workspaceProductDatabaseModelRelateDao = aDao;
    }

    /**
         *  Get SysUserService Instance
        */
    public com.ourteam.system.service.ISysUserService getSysUserService() {
        return sysUserService;
    }

    /**
     *  Set SysUserService Instance
    */
    public void setSysUserService(
        com.ourteam.system.service.ISysUserService aService) {
        sysUserService = aService;
    }

    /**
         *  Get WorkspaceResourceUIPageRelate DAO Instance
         */
    public com.ourteam.workspace.dao.IWorkspaceResourceUIPageRelateDAO getWorkspaceResourceUIPageRelateDao() {
        return workspaceResourceUIPageRelateDao;
    }

    /**
         *  Set WorkspaceResourceUIPageRelate DAO Instance
         */
    public void setWorkspaceResourceUIPageRelateDao(
        com.ourteam.workspace.dao.IWorkspaceResourceUIPageRelateDAO aDao) {
        workspaceResourceUIPageRelateDao = aDao;
    }

    /**
     * 根据项目id取得工作平台

     * @param projectIds

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceBean[] doGetWorkspacesByProjectIds(
        final long[] projectIds) throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceBean[] getWorkspacesByProjectIds(
        final long[] projectIds) throws Exception {
        try {
            com.ourteam.workspace.domain.WorkspaceBean[] result = doGetWorkspacesByProjectIds(projectIds);

            return result;
        } catch (Exception e) {
            logger.error("do getWorkspacesByProjectIds error", e);
            throw e;
        }
    }

    /**
     * 取得工作平台资源

     * @param workspaceId

     * @param workspaceResourceTypeEnums

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceResourceBean[] doGetWorkspaceResources(
        final long workspaceId,
        final com.ourteam.workspace.dao.WorkspaceResourceTypeEnum[] workspaceResourceTypeEnums)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceResourceBean[] getWorkspaceResources(
        final long workspaceId,
        final com.ourteam.workspace.dao.WorkspaceResourceTypeEnum[] workspaceResourceTypeEnums)
        throws Exception {
        try {
            com.ourteam.workspace.domain.WorkspaceResourceBean[] result = doGetWorkspaceResources(workspaceId,
                    workspaceResourceTypeEnums);

            return result;
        } catch (Exception e) {
            logger.error("do getWorkspaceResources error", e);
            throw e;
        }
    }

    /**
     * 添加工作空间

     * @param workspaceBean

     * @throws Exception
     */
    protected abstract void doAddNewWorkspace(
        final com.ourteam.workspace.domain.WorkspaceBean workspaceBean)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void addNewWorkspace(
        final com.ourteam.workspace.domain.WorkspaceBean workspaceBean)
        throws Exception {
        try {
            if (workspaceBean == null) {
                throw new org.apache.commons.lang.NullArgumentException(
                    "The Parameter [workspaceBean] Value is NULL");
            }

            doAddNewWorkspace(workspaceBean);
        } catch (Exception e) {
            logger.error("do addNewWorkspace error", e);
            throw e;
        }
    }

    /**
     * 添加工作平台资源

     * @param workspaceResourceBean

     * @throws Exception
     */
    protected abstract void doAddWorkspaceResource(
        final com.ourteam.workspace.domain.WorkspaceResourceBean workspaceResourceBean)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void addWorkspaceResource(
        final com.ourteam.workspace.domain.WorkspaceResourceBean workspaceResourceBean)
        throws Exception {
        try {
            if (workspaceResourceBean == null) {
                throw new org.apache.commons.lang.NullArgumentException(
                    "The Parameter [workspaceResourceBean] Value is NULL");
            }

            doAddWorkspaceResource(workspaceResourceBean);
        } catch (Exception e) {
            logger.error("do addWorkspaceResource error", e);
            throw e;
        }
    }

    /**
     * 根据id取得工作空间对象

     * @param workspaceId

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceBean doGetWorkspaceById(
        final long workspaceId) throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceBean getWorkspaceById(
        final long workspaceId) throws Exception {
        try {
            com.ourteam.workspace.domain.WorkspaceBean result = doGetWorkspaceById(workspaceId);

            return result;
        } catch (Exception e) {
            logger.error("do getWorkspaceById error", e);
            throw e;
        }
    }

    /**
     * 根据id取得工作空间资源

     * @param workspaceResourceId

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceResourceBean doGetWorkspaceResourceById(
        final long workspaceResourceId) throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceResourceBean getWorkspaceResourceById(
        final long workspaceResourceId) throws Exception {
        try {
            com.ourteam.workspace.domain.WorkspaceResourceBean result = doGetWorkspaceResourceById(workspaceResourceId);

            return result;
        } catch (Exception e) {
            logger.error("do getWorkspaceResourceById error", e);
            throw e;
        }
    }

    /**
     * 修改工作平台资源信息

     * @param workspaceResourceBean

     * @throws Exception
     */
    protected abstract void doModifyWorkspaceResource(
        final com.ourteam.workspace.domain.WorkspaceResourceBean workspaceResourceBean)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void modifyWorkspaceResource(
        final com.ourteam.workspace.domain.WorkspaceResourceBean workspaceResourceBean)
        throws Exception {
        try {
            doModifyWorkspaceResource(workspaceResourceBean);
        } catch (Exception e) {
            logger.error("do modifyWorkspaceResource error", e);
            throw e;
        }
    }

    /**
     * 取得资源与业务包的关联

     * @param resourceId

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceResourceBusinessPackageRelateBean[] doGetWorkspaceResourceBusinessPackageRelates(
        final long resourceId) throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceResourceBusinessPackageRelateBean[] getWorkspaceResourceBusinessPackageRelates(
        final long resourceId) throws Exception {
        try {
            com.ourteam.workspace.domain.WorkspaceResourceBusinessPackageRelateBean[] result =
                doGetWorkspaceResourceBusinessPackageRelates(resourceId);

            return result;
        } catch (Exception e) {
            logger.error("do getWorkspaceResourceBusinessPackageRelates error",
                e);
            throw e;
        }
    }

    /**
     * 添加工作空间资源与业务模型包关联

     * @param resourceId

     * @param businessPackageId

     * @throws Exception
     */
    protected abstract void doAddWorkspaceResourceBusinessPackageRelate(
        final long resourceId, final long[] businessPackageId)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void addWorkspaceResourceBusinessPackageRelate(
        final long resourceId, final long[] businessPackageId)
        throws Exception {
        try {
            doAddWorkspaceResourceBusinessPackageRelate(resourceId,
                businessPackageId);
        } catch (Exception e) {
            logger.error("do addWorkspaceResourceBusinessPackageRelate error", e);
            throw e;
        }
    }

    /**
     * 删除工作空间资源与业务模型包关联

     * @param relateIds

     * @throws Exception
     */
    protected abstract void doRemoveWorkspaceResourceBusinessPackageRelates(
        final long[] relateIds) throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void removeWorkspaceResourceBusinessPackageRelates(
        final long[] relateIds) throws Exception {
        try {
            doRemoveWorkspaceResourceBusinessPackageRelates(relateIds);
        } catch (Exception e) {
            logger.error("do removeWorkspaceResourceBusinessPackageRelates error",
                e);
            throw e;
        }
    }

    /**
     * 取得工作资源文件

     * @param workspaceResourceBean

     * @throws Exception
     */
    protected abstract java.io.File doGetWorkspaceResourceFileObject(
        final com.ourteam.workspace.domain.WorkspaceResourceBean workspaceResourceBean)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public java.io.File getWorkspaceResourceFileObject(
        final com.ourteam.workspace.domain.WorkspaceResourceBean workspaceResourceBean)
        throws Exception {
        try {
            if (workspaceResourceBean == null) {
                throw new org.apache.commons.lang.NullArgumentException(
                    "The Parameter [workspaceResourceBean] Value is NULL");
            }

            java.io.File result = doGetWorkspaceResourceFileObject(workspaceResourceBean);

            return result;
        } catch (Exception e) {
            logger.error("do getWorkspaceResourceFileObject error", e);
            throw e;
        }
    }

    /**
     * 取得工作空间配置

     * @param workspaceId

     * @param parentWorkspaceConfigId

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceConfigBean[] doGetWorkspaceConfigs(
        final long workspaceId, final long parentWorkspaceConfigId)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceConfigBean[] getWorkspaceConfigs(
        final long workspaceId, final long parentWorkspaceConfigId)
        throws Exception {
        try {
            com.ourteam.workspace.domain.WorkspaceConfigBean[] result = doGetWorkspaceConfigs(workspaceId,
                    parentWorkspaceConfigId);

            return result;
        } catch (Exception e) {
            logger.error("do getWorkspaceConfigs error", e);
            throw e;
        }
    }

    /**
     *

     * @param workspaceId

     * @param workspaceConfigId

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceConfigPropertyBean[] doGetWorkspaceConfigProperties(
        final long workspaceId, final long workspaceConfigId)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceConfigPropertyBean[] getWorkspaceConfigProperties(
        final long workspaceId, final long workspaceConfigId)
        throws Exception {
        try {
            com.ourteam.workspace.domain.WorkspaceConfigPropertyBean[] result = doGetWorkspaceConfigProperties(workspaceId,
                    workspaceConfigId);

            return result;
        } catch (Exception e) {
            logger.error("do getWorkspaceConfigProperties error", e);
            throw e;
        }
    }

    /**
     *

     * @param workspaceId

     * @param workspaceConfigId

     * @param workspaceConfigPropertyBeans

     * @throws Exception
     */
    protected abstract void doSetWorkspaceConfigProperties(
        final long workspaceId, final long workspaceConfigId,
        final com.ourteam.workspace.domain.WorkspaceConfigPropertyBean[] workspaceConfigPropertyBeans)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void setWorkspaceConfigProperties(final long workspaceId,
        final long workspaceConfigId,
        final com.ourteam.workspace.domain.WorkspaceConfigPropertyBean[] workspaceConfigPropertyBeans)
        throws Exception {
        try {
            doSetWorkspaceConfigProperties(workspaceId, workspaceConfigId,
                workspaceConfigPropertyBeans);
        } catch (Exception e) {
            logger.error("do setWorkspaceConfigProperties error", e);
            throw e;
        }
    }

    /**
     *

     * @param workspaceId

     * @param configItem

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceConfigPropertyBean[] doGetWorkspaceConfigPropertiesByConfigItem(
        final long workspaceId, final String configItem)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceConfigPropertyBean[] getWorkspaceConfigPropertiesByConfigItem(
        final long workspaceId, final String configItem)
        throws Exception {
        try {
            com.ourteam.workspace.domain.WorkspaceConfigPropertyBean[] result = doGetWorkspaceConfigPropertiesByConfigItem(workspaceId,
                    configItem);

            return result;
        } catch (Exception e) {
            logger.error("do getWorkspaceConfigPropertiesByConfigItem error", e);
            throw e;
        }
    }

    /**
     * 根据配置项设置工作空间配置

     * @param workspaceId

     * @param configItem

     * @param workspaceConfigPropertyBean

     * @throws Exception
     */
    protected abstract void doSetWorkspaceConfigPropertiesByConfigItem(
        final long workspaceId, final String configItem,
        final com.ourteam.workspace.domain.WorkspaceConfigPropertyBean[] workspaceConfigPropertyBean)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void setWorkspaceConfigPropertiesByConfigItem(
        final long workspaceId, final String configItem,
        final com.ourteam.workspace.domain.WorkspaceConfigPropertyBean[] workspaceConfigPropertyBean)
        throws Exception {
        try {
            doSetWorkspaceConfigPropertiesByConfigItem(workspaceId, configItem,
                workspaceConfigPropertyBean);
        } catch (Exception e) {
            logger.error("do setWorkspaceConfigPropertiesByConfigItem error", e);
            throw e;
        }
    }

    /**
     *

     * @param workspace

     * @throws Exception
     */
    protected abstract java.io.File doGetWorkspaceFileObject(
        final com.ourteam.workspace.domain.WorkspaceBean workspace)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public java.io.File getWorkspaceFileObject(
        final com.ourteam.workspace.domain.WorkspaceBean workspace)
        throws Exception {
        try {
            if (workspace == null) {
                throw new org.apache.commons.lang.NullArgumentException(
                    "The Parameter [workspace] Value is NULL");
            }

            java.io.File result = doGetWorkspaceFileObject(workspace);

            return result;
        } catch (Exception e) {
            logger.error("do getWorkspaceFileObject error", e);
            throw e;
        }
    }

    /**
     *

     * @throws Exception
     */
    protected abstract java.io.File doGetWorkspaceRootFileObject()
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public java.io.File getWorkspaceRootFileObject() throws Exception {
        try {
            java.io.File result = doGetWorkspaceRootFileObject();

            return result;
        } catch (Exception e) {
            logger.error("do getWorkspaceRootFileObject error", e);
            throw e;
        }
    }

    /**
     * 删除工作空间

     * @param workspaceId

     * @throws Exception
     */
    protected abstract void doDeleteWorkspace(final long workspaceId)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void deleteWorkspace(final long workspaceId)
        throws Exception {
        try {
            doDeleteWorkspace(workspaceId);
        } catch (Exception e) {
            logger.error("do deleteWorkspace error", e);
            throw e;
        }
    }

    /**
     * 删除工作空间资源

     * @param workspaceResourceId

     * @throws Exception
     */
    protected abstract void doDeleteWorkspaceResource(
        final long workspaceResourceId) throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void deleteWorkspaceResource(final long workspaceResourceId)
        throws Exception {
        try {
            doDeleteWorkspaceResource(workspaceResourceId);
        } catch (Exception e) {
            logger.error("do deleteWorkspaceResource error", e);
            throw e;
        }
    }

    /**
     * 去除工作空间资源

     * @param workspaceResourceId

     * @throws Exception
     */
    protected abstract void doRemoveWorkspaceResource(
        final long workspaceResourceId) throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void removeWorkspaceResource(final long workspaceResourceId)
        throws Exception {
        try {
            doRemoveWorkspaceResource(workspaceResourceId);
        } catch (Exception e) {
            logger.error("do removeWorkspaceResource error", e);
            throw e;
        }
    }

    /**
     * 添加项目服务

     * @param middleWareServerId

     * @param projectId

     * @throws Exception
     */
    protected abstract void doAddServerToProject(
        final long middleWareServerId, final long projectId)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void addServerToProject(final long middleWareServerId,
        final long projectId) throws Exception {
        try {
            doAddServerToProject(middleWareServerId, projectId);
        } catch (Exception e) {
            logger.error("do addServerToProject error", e);
            throw e;
        }
    }

    /**
     *

     * @param queryBean

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceBean[] doQueryWorkspaces(
        final com.ourteam.workspace.dao.WorkspaceDAOQueryBean queryBean)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceBean[] queryWorkspaces(
        final com.ourteam.workspace.dao.WorkspaceDAOQueryBean queryBean)
        throws Exception {
        try {
            com.ourteam.workspace.domain.WorkspaceBean[] result = doQueryWorkspaces(queryBean);

            return result;
        } catch (Exception e) {
            logger.error("do queryWorkspaces error", e);
            throw e;
        }
    }

    /**
     *

     * @param queryBean

     * @throws Exception
     */
    protected abstract int doQueryWorkspaceCount(
        final com.ourteam.workspace.dao.WorkspaceDAOQueryBean queryBean)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public int queryWorkspaceCount(
        final com.ourteam.workspace.dao.WorkspaceDAOQueryBean queryBean)
        throws Exception {
        try {
            int result = doQueryWorkspaceCount(queryBean);

            return result;
        } catch (Exception e) {
            logger.error("do queryWorkspaceCount error", e);
            throw e;
        }
    }

    /**
     *

     * @param queryBean

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceResourceBean[] doQueryWorkspaceResources(
        final com.ourteam.workspace.dao.WorkspaceResourceDAOQueryBean queryBean)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceResourceBean[] queryWorkspaceResources(
        final com.ourteam.workspace.dao.WorkspaceResourceDAOQueryBean queryBean)
        throws Exception {
        try {
            com.ourteam.workspace.domain.WorkspaceResourceBean[] result = doQueryWorkspaceResources(queryBean);

            return result;
        } catch (Exception e) {
            logger.error("do queryWorkspaceResources error", e);
            throw e;
        }
    }

    /**
     *

     * @param queryBean

     * @throws Exception
     */
    protected abstract int doQueryWorkspaceResourceCount(
        final com.ourteam.workspace.dao.WorkspaceResourceDAOQueryBean queryBean)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public int queryWorkspaceResourceCount(
        final com.ourteam.workspace.dao.WorkspaceResourceDAOQueryBean queryBean)
        throws Exception {
        try {
            int result = doQueryWorkspaceResourceCount(queryBean);

            return result;
        } catch (Exception e) {
            logger.error("do queryWorkspaceResourceCount error", e);
            throw e;
        }
    }

    /**
     * 修改工作区

     * @param aWorkspaceBean

     * @throws Exception
     */
    protected abstract void doModifyWorkspace(
        final com.ourteam.workspace.domain.WorkspaceBean aWorkspaceBean)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void modifyWorkspace(
        final com.ourteam.workspace.domain.WorkspaceBean aWorkspaceBean)
        throws Exception {
        try {
            if (aWorkspaceBean == null) {
                throw new org.apache.commons.lang.NullArgumentException(
                    "The Parameter [aWorkspaceBean] Value is NULL");
            }

            doModifyWorkspace(aWorkspaceBean);
        } catch (Exception e) {
            logger.error("do modifyWorkspace error", e);
            throw e;
        }
    }

    /**
     *

     * @param aWorkspaceScmConfig

     * @throws Exception
     */
    protected abstract void doSaveWorkspaceScmConfig(
        final com.ourteam.workspace.domain.WorkspaceScmConfigBean aWorkspaceScmConfig)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void saveWorkspaceScmConfig(
        final com.ourteam.workspace.domain.WorkspaceScmConfigBean aWorkspaceScmConfig)
        throws Exception {
        try {
            if (aWorkspaceScmConfig == null) {
                throw new org.apache.commons.lang.NullArgumentException(
                    "The Parameter [aWorkspaceScmConfig] Value is NULL");
            }

            doSaveWorkspaceScmConfig(aWorkspaceScmConfig);
        } catch (Exception e) {
            logger.error("do saveWorkspaceScmConfig error", e);
            throw e;
        }
    }

    /**
     *

     * @param workspaceId

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceScmConfigBean doGetWorkspaceScmConfig(
        final long workspaceId) throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceScmConfigBean getWorkspaceScmConfig(
        final long workspaceId) throws Exception {
        try {
            com.ourteam.workspace.domain.WorkspaceScmConfigBean result = doGetWorkspaceScmConfig(workspaceId);

            return result;
        } catch (Exception e) {
            logger.error("do getWorkspaceScmConfig error", e);
            throw e;
        }
    }

    /**
     *

     * @param workspaceScmConfigId

     * @param scmChangeLogBeans

     * @throws Exception
     */
    protected abstract void doImportWorkspaceScmLogs(
        final long workspaceScmConfigId,
        final com.ourteam.workspace.domain.WorkspaceScmLogBean[] scmChangeLogBeans)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void importWorkspaceScmLogs(final long workspaceScmConfigId,
        final com.ourteam.workspace.domain.WorkspaceScmLogBean[] scmChangeLogBeans)
        throws Exception {
        try {
            if (scmChangeLogBeans == null) {
                logger.warn(
                    "The Parameter [scmChangeLogBeans] Value is NULL,Exit");

                return;
            }

            doImportWorkspaceScmLogs(workspaceScmConfigId, scmChangeLogBeans);
        } catch (Exception e) {
            logger.error("do importWorkspaceScmLogs error", e);
            throw e;
        }
    }

    /**
     *

     * @param queryBean

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceScmLogBean[] doQueryWorkspaceScmLogs(
        final com.ourteam.workspace.dao.WorkspaceScmLogDAOQueryBean queryBean)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceScmLogBean[] queryWorkspaceScmLogs(
        final com.ourteam.workspace.dao.WorkspaceScmLogDAOQueryBean queryBean)
        throws Exception {
        try {
            com.ourteam.workspace.domain.WorkspaceScmLogBean[] result = doQueryWorkspaceScmLogs(queryBean);

            return result;
        } catch (Exception e) {
            logger.error("do queryWorkspaceScmLogs error", e);
            throw e;
        }
    }

    /**
     *

     * @param queryBean

     * @throws Exception
     */
    protected abstract int doQueryWorkspaceScmLogCount(
        final com.ourteam.workspace.dao.WorkspaceScmLogDAOQueryBean queryBean)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public int queryWorkspaceScmLogCount(
        final com.ourteam.workspace.dao.WorkspaceScmLogDAOQueryBean queryBean)
        throws Exception {
        try {
            int result = doQueryWorkspaceScmLogCount(queryBean);

            return result;
        } catch (Exception e) {
            logger.error("do queryWorkspaceScmLogCount error", e);
            throw e;
        }
    }

    /**
     *

     * @param queryBean

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceScmChangePathLogBean[] doQueryWorkspaceScmChangePathLogs(
        final com.ourteam.workspace.dao.WorkspaceScmChangePathLogDAOQueryBean queryBean)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceScmChangePathLogBean[] queryWorkspaceScmChangePathLogs(
        final com.ourteam.workspace.dao.WorkspaceScmChangePathLogDAOQueryBean queryBean)
        throws Exception {
        try {
            com.ourteam.workspace.domain.WorkspaceScmChangePathLogBean[] result = doQueryWorkspaceScmChangePathLogs(queryBean);

            return result;
        } catch (Exception e) {
            logger.error("do queryWorkspaceScmChangePathLogs error", e);
            throw e;
        }
    }

    /**
     *

     * @param queryBean

     * @throws Exception
     */
    protected abstract int doQueryWorkspaceScmChangePathLogCount(
        final com.ourteam.workspace.dao.WorkspaceScmChangePathLogDAOQueryBean queryBean)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public int queryWorkspaceScmChangePathLogCount(
        final com.ourteam.workspace.dao.WorkspaceScmChangePathLogDAOQueryBean queryBean)
        throws Exception {
        try {
            int result = doQueryWorkspaceScmChangePathLogCount(queryBean);

            return result;
        } catch (Exception e) {
            logger.error("do queryWorkspaceScmChangePathLogCount error", e);
            throw e;
        }
    }

    /**
     *

     * @param aWorkspaceBuildConfig

     * @throws Exception
     */
    protected abstract void doAddNewWorkspaceBuildConfig(
        final com.ourteam.workspace.domain.WorkspaceBuildConfigBean aWorkspaceBuildConfig)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void addNewWorkspaceBuildConfig(
        final com.ourteam.workspace.domain.WorkspaceBuildConfigBean aWorkspaceBuildConfig)
        throws Exception {
        try {
            if (aWorkspaceBuildConfig == null) {
                throw new org.apache.commons.lang.NullArgumentException(
                    "The Parameter [aWorkspaceBuildConfig] Value is NULL");
            }

            doAddNewWorkspaceBuildConfig(aWorkspaceBuildConfig);
        } catch (Exception e) {
            logger.error("do addNewWorkspaceBuildConfig error", e);
            throw e;
        }
    }

    /**
     *

     * @param aWorkspaceBuildConfigId

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceBuildConfigBean doGetWorkspaceBuildConfigById(
        final long aWorkspaceBuildConfigId) throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceBuildConfigBean getWorkspaceBuildConfigById(
        final long aWorkspaceBuildConfigId) throws Exception {
        try {
            com.ourteam.workspace.domain.WorkspaceBuildConfigBean result = doGetWorkspaceBuildConfigById(aWorkspaceBuildConfigId);

            return result;
        } catch (Exception e) {
            logger.error("do getWorkspaceBuildConfigById error", e);
            throw e;
        }
    }

    /**
     *

     * @param aWorkspaceBuildConfig

     * @throws Exception
     */
    protected abstract void doModifyWorkspaceBuildConfig(
        final com.ourteam.workspace.domain.WorkspaceBuildConfigBean aWorkspaceBuildConfig)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void modifyWorkspaceBuildConfig(
        final com.ourteam.workspace.domain.WorkspaceBuildConfigBean aWorkspaceBuildConfig)
        throws Exception {
        try {
            if (aWorkspaceBuildConfig == null) {
                throw new org.apache.commons.lang.NullArgumentException(
                    "The Parameter [aWorkspaceBuildConfig] Value is NULL");
            }

            doModifyWorkspaceBuildConfig(aWorkspaceBuildConfig);
        } catch (Exception e) {
            logger.error("do modifyWorkspaceBuildConfig error", e);
            throw e;
        }
    }

    /**
     *

     * @param aWorkspaceBuildConfigIds

     * @throws Exception
     */
    protected abstract void doDeleteWorkspaceBuildConfigs(
        final long[] aWorkspaceBuildConfigIds) throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void deleteWorkspaceBuildConfigs(
        final long[] aWorkspaceBuildConfigIds) throws Exception {
        try {
            doDeleteWorkspaceBuildConfigs(aWorkspaceBuildConfigIds);
        } catch (Exception e) {
            logger.error("do deleteWorkspaceBuildConfigs error", e);
            throw e;
        }
    }

    /**
     *

     * @param queryBean

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceBuildConfigBean[] doQueryWorkspaceBuildConfigs(
        final com.ourteam.workspace.dao.WorkspaceBuildConfigDAOQueryBean queryBean)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceBuildConfigBean[] queryWorkspaceBuildConfigs(
        final com.ourteam.workspace.dao.WorkspaceBuildConfigDAOQueryBean queryBean)
        throws Exception {
        try {
            com.ourteam.workspace.domain.WorkspaceBuildConfigBean[] result = doQueryWorkspaceBuildConfigs(queryBean);

            return result;
        } catch (Exception e) {
            logger.error("do queryWorkspaceBuildConfigs error", e);
            throw e;
        }
    }

    /**
     *

     * @param queryBean

     * @throws Exception
     */
    protected abstract int doQueryWorkspaceBuildConfigCount(
        final com.ourteam.workspace.dao.WorkspaceBuildConfigDAOQueryBean queryBean)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public int queryWorkspaceBuildConfigCount(
        final com.ourteam.workspace.dao.WorkspaceBuildConfigDAOQueryBean queryBean)
        throws Exception {
        try {
            int result = doQueryWorkspaceBuildConfigCount(queryBean);

            return result;
        } catch (Exception e) {
            logger.error("do queryWorkspaceBuildConfigCount error", e);
            throw e;
        }
    }

    /**
     *

     * @param aWorkspaceBuildLog

     * @throws Exception
     */
    protected abstract void doAddNewWorkspaceBuildLog(
        final com.ourteam.workspace.domain.WorkspaceBuildLogBean aWorkspaceBuildLog)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void addNewWorkspaceBuildLog(
        final com.ourteam.workspace.domain.WorkspaceBuildLogBean aWorkspaceBuildLog)
        throws Exception {
        try {
            if (aWorkspaceBuildLog == null) {
                throw new org.apache.commons.lang.NullArgumentException(
                    "The Parameter [aWorkspaceBuildLog] Value is NULL");
            }

            doAddNewWorkspaceBuildLog(aWorkspaceBuildLog);
        } catch (Exception e) {
            logger.error("do addNewWorkspaceBuildLog error", e);
            throw e;
        }
    }

    /**
     *

     * @param aWorkspaceBuildLog

     * @throws Exception
     */
    protected abstract void doModifyWorkspaceBuildLog(
        final com.ourteam.workspace.domain.WorkspaceBuildLogBean aWorkspaceBuildLog)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void modifyWorkspaceBuildLog(
        final com.ourteam.workspace.domain.WorkspaceBuildLogBean aWorkspaceBuildLog)
        throws Exception {
        try {
            if (aWorkspaceBuildLog == null) {
                throw new org.apache.commons.lang.NullArgumentException(
                    "The Parameter [aWorkspaceBuildLog] Value is NULL");
            }

            doModifyWorkspaceBuildLog(aWorkspaceBuildLog);
        } catch (Exception e) {
            logger.error("do modifyWorkspaceBuildLog error", e);
            throw e;
        }
    }

    /**
     *

     * @param aWorkspaceBuildLogId

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceBuildLogBean doGetWorkspaceBuildLogById(
        final long aWorkspaceBuildLogId) throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceBuildLogBean getWorkspaceBuildLogById(
        final long aWorkspaceBuildLogId) throws Exception {
        try {
            com.ourteam.workspace.domain.WorkspaceBuildLogBean result = doGetWorkspaceBuildLogById(aWorkspaceBuildLogId);

            return result;
        } catch (Exception e) {
            logger.error("do getWorkspaceBuildLogById error", e);
            throw e;
        }
    }

    /**
     *

     * @param aWorkspaceBuildLogIds

     * @throws Exception
     */
    protected abstract void doDeleteWorkspaceBuildLogs(
        final long[] aWorkspaceBuildLogIds) throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void deleteWorkspaceBuildLogs(final long[] aWorkspaceBuildLogIds)
        throws Exception {
        try {
            doDeleteWorkspaceBuildLogs(aWorkspaceBuildLogIds);
        } catch (Exception e) {
            logger.error("do deleteWorkspaceBuildLogs error", e);
            throw e;
        }
    }

    /**
     *

     * @param queryBean

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceBuildLogBean[] doQueryWorkspaceBuildLogs(
        final com.ourteam.workspace.dao.WorkspaceBuildLogDAOQueryBean queryBean)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceBuildLogBean[] queryWorkspaceBuildLogs(
        final com.ourteam.workspace.dao.WorkspaceBuildLogDAOQueryBean queryBean)
        throws Exception {
        try {
            com.ourteam.workspace.domain.WorkspaceBuildLogBean[] result = doQueryWorkspaceBuildLogs(queryBean);

            return result;
        } catch (Exception e) {
            logger.error("do queryWorkspaceBuildLogs error", e);
            throw e;
        }
    }

    /**
     *

     * @param queryBean

     * @throws Exception
     */
    protected abstract int doQueryWorkspaceBuildLogCount(
        final com.ourteam.workspace.dao.WorkspaceBuildLogDAOQueryBean queryBean)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public int queryWorkspaceBuildLogCount(
        final com.ourteam.workspace.dao.WorkspaceBuildLogDAOQueryBean queryBean)
        throws Exception {
        try {
            int result = doQueryWorkspaceBuildLogCount(queryBean);

            return result;
        } catch (Exception e) {
            logger.error("do queryWorkspaceBuildLogCount error", e);
            throw e;
        }
    }

    /**
     *

     * @param aWorkspaceMember

     * @throws Exception
     */
    protected abstract void doAddWorkspaceMember(
        final com.ourteam.workspace.domain.WorkspaceMemberBean aWorkspaceMember)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void addWorkspaceMember(
        final com.ourteam.workspace.domain.WorkspaceMemberBean aWorkspaceMember)
        throws Exception {
        try {
            if (aWorkspaceMember == null) {
                throw new org.apache.commons.lang.NullArgumentException(
                    "The Parameter [aWorkspaceMember] Value is NULL");
            }

            doAddWorkspaceMember(aWorkspaceMember);
        } catch (Exception e) {
            logger.error("do addWorkspaceMember error", e);
            throw e;
        }
    }

    /**
     *

     * @param aWorkspaceMember

     * @throws Exception
     */
    protected abstract void doModifyWorkspaceMember(
        final com.ourteam.workspace.domain.WorkspaceMemberBean aWorkspaceMember)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void modifyWorkspaceMember(
        final com.ourteam.workspace.domain.WorkspaceMemberBean aWorkspaceMember)
        throws Exception {
        try {
            if (aWorkspaceMember == null) {
                throw new org.apache.commons.lang.NullArgumentException(
                    "The Parameter [aWorkspaceMember] Value is NULL");
            }

            doModifyWorkspaceMember(aWorkspaceMember);
        } catch (Exception e) {
            logger.error("do modifyWorkspaceMember error", e);
            throw e;
        }
    }

    /**
     *

     * @param aWorkspaceMemberId

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceMemberBean doGetWorkspaceMemberById(
        final long aWorkspaceMemberId) throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceMemberBean getWorkspaceMemberById(
        final long aWorkspaceMemberId) throws Exception {
        try {
            com.ourteam.workspace.domain.WorkspaceMemberBean result = doGetWorkspaceMemberById(aWorkspaceMemberId);

            return result;
        } catch (Exception e) {
            logger.error("do getWorkspaceMemberById error", e);
            throw e;
        }
    }

    /**
     *

     * @param aWorkspaceMemberIds

     * @throws Exception
     */
    protected abstract void doDeleteWorkspaceMembers(
        final long[] aWorkspaceMemberIds) throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void deleteWorkspaceMembers(final long[] aWorkspaceMemberIds)
        throws Exception {
        try {
            doDeleteWorkspaceMembers(aWorkspaceMemberIds);
        } catch (Exception e) {
            logger.error("do deleteWorkspaceMembers error", e);
            throw e;
        }
    }

    /**
     *

     * @param queryBean

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceMemberBean[] doQueryWorkspaceMembers(
        final com.ourteam.workspace.dao.WorkspaceMemberDAOQueryBean queryBean)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceMemberBean[] queryWorkspaceMembers(
        final com.ourteam.workspace.dao.WorkspaceMemberDAOQueryBean queryBean)
        throws Exception {
        try {
            com.ourteam.workspace.domain.WorkspaceMemberBean[] result = doQueryWorkspaceMembers(queryBean);

            return result;
        } catch (Exception e) {
            logger.error("do queryWorkspaceMembers error", e);
            throw e;
        }
    }

    /**
     *

     * @param queryBean

     * @throws Exception
     */
    protected abstract int doQueryWorkspaceMemberCount(
        final com.ourteam.workspace.dao.WorkspaceMemberDAOQueryBean queryBean)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public int queryWorkspaceMemberCount(
        final com.ourteam.workspace.dao.WorkspaceMemberDAOQueryBean queryBean)
        throws Exception {
        try {
            int result = doQueryWorkspaceMemberCount(queryBean);

            return result;
        } catch (Exception e) {
            logger.error("do queryWorkspaceMemberCount error", e);
            throw e;
        }
    }

    /**
     *

     * @param aWorkspaceConfigId

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceConfigBean doGetWorkspaceConfigById(
        final long aWorkspaceConfigId) throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceConfigBean getWorkspaceConfigById(
        final long aWorkspaceConfigId) throws Exception {
        try {
            com.ourteam.workspace.domain.WorkspaceConfigBean result = doGetWorkspaceConfigById(aWorkspaceConfigId);

            return result;
        } catch (Exception e) {
            logger.error("do getWorkspaceConfigById error", e);
            throw e;
        }
    }

    /**
     *

     * @param aWorkspaceServer

     * @throws Exception
     */
    protected abstract void doAddNewWorkspaceServer(
        final com.ourteam.workspace.domain.WorkspaceServerBean aWorkspaceServer)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void addNewWorkspaceServer(
        final com.ourteam.workspace.domain.WorkspaceServerBean aWorkspaceServer)
        throws Exception {
        try {
            if (aWorkspaceServer == null) {
                throw new org.apache.commons.lang.NullArgumentException(
                    "The Parameter [aWorkspaceServer] Value is NULL");
            }

            doAddNewWorkspaceServer(aWorkspaceServer);
        } catch (Exception e) {
            logger.error("do addNewWorkspaceServer error", e);
            throw e;
        }
    }

    /**
     *

     * @param aWorkspaceServerId

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceServerBean doGetWorkspaceServerById(
        final long aWorkspaceServerId) throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceServerBean getWorkspaceServerById(
        final long aWorkspaceServerId) throws Exception {
        try {
            com.ourteam.workspace.domain.WorkspaceServerBean result = doGetWorkspaceServerById(aWorkspaceServerId);

            return result;
        } catch (Exception e) {
            logger.error("do getWorkspaceServerById error", e);
            throw e;
        }
    }

    /**
     *

     * @param aWorkspaceServer

     * @throws Exception
     */
    protected abstract void doModifyWorkspaceServer(
        final com.ourteam.workspace.domain.WorkspaceServerBean aWorkspaceServer)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void modifyWorkspaceServer(
        final com.ourteam.workspace.domain.WorkspaceServerBean aWorkspaceServer)
        throws Exception {
        try {
            if (aWorkspaceServer == null) {
                throw new org.apache.commons.lang.NullArgumentException(
                    "The Parameter [aWorkspaceServer] Value is NULL");
            }

            doModifyWorkspaceServer(aWorkspaceServer);
        } catch (Exception e) {
            logger.error("do modifyWorkspaceServer error", e);
            throw e;
        }
    }

    /**
     *

     * @param queryBean

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceServerBean[] doQueryWorkspaceServers(
        final com.ourteam.workspace.dao.WorkspaceServerDAOQueryBean queryBean)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceServerBean[] queryWorkspaceServers(
        final com.ourteam.workspace.dao.WorkspaceServerDAOQueryBean queryBean)
        throws Exception {
        try {
            com.ourteam.workspace.domain.WorkspaceServerBean[] result = doQueryWorkspaceServers(queryBean);

            return result;
        } catch (Exception e) {
            logger.error("do queryWorkspaceServers error", e);
            throw e;
        }
    }

    /**
     *

     * @param queryBean

     * @throws Exception
     */
    protected abstract int doQueryWorkspaceServerCount(
        final com.ourteam.workspace.dao.WorkspaceServerDAOQueryBean queryBean)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public int queryWorkspaceServerCount(
        final com.ourteam.workspace.dao.WorkspaceServerDAOQueryBean queryBean)
        throws Exception {
        try {
            int result = doQueryWorkspaceServerCount(queryBean);

            return result;
        } catch (Exception e) {
            logger.error("do queryWorkspaceServerCount error", e);
            throw e;
        }
    }

    /**
     *

     * @param aWorkspaceServerIds

     * @throws Exception
     */
    protected abstract void doDeleteWorkspaceServers(
        final long[] aWorkspaceServerIds) throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void deleteWorkspaceServers(final long[] aWorkspaceServerIds)
        throws Exception {
        try {
            doDeleteWorkspaceServers(aWorkspaceServerIds);
        } catch (Exception e) {
            logger.error("do deleteWorkspaceServers error", e);
            throw e;
        }
    }

    /**
     *

     * @param aWorkspaceFileTypeConfig

     * @throws Exception
     */
    protected abstract void doAddNewWorkspaceFileTypeConfig(
        final com.ourteam.workspace.domain.WorkspaceFileTypeConfigBean aWorkspaceFileTypeConfig)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void addNewWorkspaceFileTypeConfig(
        final com.ourteam.workspace.domain.WorkspaceFileTypeConfigBean aWorkspaceFileTypeConfig)
        throws Exception {
        try {
            if (aWorkspaceFileTypeConfig == null) {
                throw new org.apache.commons.lang.NullArgumentException(
                    "The Parameter [aWorkspaceFileTypeConfig] Value is NULL");
            }

            doAddNewWorkspaceFileTypeConfig(aWorkspaceFileTypeConfig);
        } catch (Exception e) {
            logger.error("do addNewWorkspaceFileTypeConfig error", e);
            throw e;
        }
    }

    /**
     *

     * @param aWorkspaceFileTypeConfig

     * @throws Exception
     */
    protected abstract void doModifyWorkspaceFileTypeConfig(
        final com.ourteam.workspace.domain.WorkspaceFileTypeConfigBean aWorkspaceFileTypeConfig)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void modifyWorkspaceFileTypeConfig(
        final com.ourteam.workspace.domain.WorkspaceFileTypeConfigBean aWorkspaceFileTypeConfig)
        throws Exception {
        try {
            if (aWorkspaceFileTypeConfig == null) {
                throw new org.apache.commons.lang.NullArgumentException(
                    "The Parameter [aWorkspaceFileTypeConfig] Value is NULL");
            }

            doModifyWorkspaceFileTypeConfig(aWorkspaceFileTypeConfig);
        } catch (Exception e) {
            logger.error("do modifyWorkspaceFileTypeConfig error", e);
            throw e;
        }
    }

    /**
     *

     * @param aWorkspaceFileTypeConfigId

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceFileTypeConfigBean doGetWorkspaceFileTypeConfigById(
        final long aWorkspaceFileTypeConfigId) throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceFileTypeConfigBean getWorkspaceFileTypeConfigById(
        final long aWorkspaceFileTypeConfigId) throws Exception {
        try {
            com.ourteam.workspace.domain.WorkspaceFileTypeConfigBean result = doGetWorkspaceFileTypeConfigById(aWorkspaceFileTypeConfigId);

            return result;
        } catch (Exception e) {
            logger.error("do getWorkspaceFileTypeConfigById error", e);
            throw e;
        }
    }

    /**
     *

     * @param aWorkspaceFileTypeConfigIds

     * @throws Exception
     */
    protected abstract void doDeleteWorkspaceFileTypeConfigs(
        final long[] aWorkspaceFileTypeConfigIds) throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void deleteWorkspaceFileTypeConfigs(
        final long[] aWorkspaceFileTypeConfigIds) throws Exception {
        try {
            doDeleteWorkspaceFileTypeConfigs(aWorkspaceFileTypeConfigIds);
        } catch (Exception e) {
            logger.error("do deleteWorkspaceFileTypeConfigs error", e);
            throw e;
        }
    }

    /**
     *

     * @param queryBean

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceFileTypeConfigBean[] doQueryWorkspaceFileTypeConfigs(
        final com.ourteam.workspace.dao.WorkspaceFileTypeConfigDAOQueryBean queryBean)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceFileTypeConfigBean[] queryWorkspaceFileTypeConfigs(
        final com.ourteam.workspace.dao.WorkspaceFileTypeConfigDAOQueryBean queryBean)
        throws Exception {
        try {
            com.ourteam.workspace.domain.WorkspaceFileTypeConfigBean[] result = doQueryWorkspaceFileTypeConfigs(queryBean);

            return result;
        } catch (Exception e) {
            logger.error("do queryWorkspaceFileTypeConfigs error", e);
            throw e;
        }
    }

    /**
     *

     * @param queryBean

     * @throws Exception
     */
    protected abstract int doQueryWorkspaceFileTypeConfigCount(
        final com.ourteam.workspace.dao.WorkspaceFileTypeConfigDAOQueryBean queryBean)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public int queryWorkspaceFileTypeConfigCount(
        final com.ourteam.workspace.dao.WorkspaceFileTypeConfigDAOQueryBean queryBean)
        throws Exception {
        try {
            int result = doQueryWorkspaceFileTypeConfigCount(queryBean);

            return result;
        } catch (Exception e) {
            logger.error("do queryWorkspaceFileTypeConfigCount error", e);
            throw e;
        }
    }

    /**
     *

     * @param aWorkspaceCompiler

     * @throws Exception
     */
    protected abstract void doAddNewWorkspaceCompiler(
        final com.ourteam.workspace.domain.WorkspaceCompilerBean aWorkspaceCompiler)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void addNewWorkspaceCompiler(
        final com.ourteam.workspace.domain.WorkspaceCompilerBean aWorkspaceCompiler)
        throws Exception {
        try {
            if (aWorkspaceCompiler == null) {
                throw new org.apache.commons.lang.NullArgumentException(
                    "The Parameter [aWorkspaceCompiler] Value is NULL");
            }

            doAddNewWorkspaceCompiler(aWorkspaceCompiler);
        } catch (Exception e) {
            logger.error("do addNewWorkspaceCompiler error", e);
            throw e;
        }
    }

    /**
     *

     * @param aWorkspaceCompiler

     * @throws Exception
     */
    protected abstract void doModifyWorkspaceCompiler(
        final com.ourteam.workspace.domain.WorkspaceCompilerBean aWorkspaceCompiler)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void modifyWorkspaceCompiler(
        final com.ourteam.workspace.domain.WorkspaceCompilerBean aWorkspaceCompiler)
        throws Exception {
        try {
            if (aWorkspaceCompiler == null) {
                throw new org.apache.commons.lang.NullArgumentException(
                    "The Parameter [aWorkspaceCompiler] Value is NULL");
            }

            doModifyWorkspaceCompiler(aWorkspaceCompiler);
        } catch (Exception e) {
            logger.error("do modifyWorkspaceCompiler error", e);
            throw e;
        }
    }

    /**
     *

     * @param aWorkspaceCompilerId

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceCompilerBean doGetWorkspaceCompilerById(
        final long aWorkspaceCompilerId) throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceCompilerBean getWorkspaceCompilerById(
        final long aWorkspaceCompilerId) throws Exception {
        try {
            com.ourteam.workspace.domain.WorkspaceCompilerBean result = doGetWorkspaceCompilerById(aWorkspaceCompilerId);

            return result;
        } catch (Exception e) {
            logger.error("do getWorkspaceCompilerById error", e);
            throw e;
        }
    }

    /**
     *

     * @param aWorkspaceCompilerIds

     * @throws Exception
     */
    protected abstract void doDeleteWorkspaceCompilers(
        final long[] aWorkspaceCompilerIds) throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void deleteWorkspaceCompilers(final long[] aWorkspaceCompilerIds)
        throws Exception {
        try {
            doDeleteWorkspaceCompilers(aWorkspaceCompilerIds);
        } catch (Exception e) {
            logger.error("do deleteWorkspaceCompilers error", e);
            throw e;
        }
    }

    /**
     *

     * @param queryBean

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceCompilerBean[] doQueryWorkspaceCompilers(
        final com.ourteam.workspace.dao.WorkspaceCompilerDAOQueryBean queryBean)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceCompilerBean[] queryWorkspaceCompilers(
        final com.ourteam.workspace.dao.WorkspaceCompilerDAOQueryBean queryBean)
        throws Exception {
        try {
            com.ourteam.workspace.domain.WorkspaceCompilerBean[] result = doQueryWorkspaceCompilers(queryBean);

            return result;
        } catch (Exception e) {
            logger.error("do queryWorkspaceCompilers error", e);
            throw e;
        }
    }

    /**
     *

     * @param queryBean

     * @throws Exception
     */
    protected abstract int doQueryWorkspaceCompilerCount(
        final com.ourteam.workspace.dao.WorkspaceCompilerDAOQueryBean queryBean)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public int queryWorkspaceCompilerCount(
        final com.ourteam.workspace.dao.WorkspaceCompilerDAOQueryBean queryBean)
        throws Exception {
        try {
            int result = doQueryWorkspaceCompilerCount(queryBean);

            return result;
        } catch (Exception e) {
            logger.error("do queryWorkspaceCompilerCount error", e);
            throw e;
        }
    }

    /**
     *

     * @param queryBean

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceConfigPropertyBean[] doQueryWorkspaceConfigProperties(
        final com.ourteam.workspace.dao.WorkspaceConfigPropertyDAOQueryBean queryBean)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceConfigPropertyBean[] queryWorkspaceConfigProperties(
        final com.ourteam.workspace.dao.WorkspaceConfigPropertyDAOQueryBean queryBean)
        throws Exception {
        try {
            com.ourteam.workspace.domain.WorkspaceConfigPropertyBean[] result = doQueryWorkspaceConfigProperties(queryBean);

            return result;
        } catch (Exception e) {
            logger.error("do queryWorkspaceConfigProperties error", e);
            throw e;
        }
    }

    /**
     *

     * @param queryBean

     * @throws Exception
     */
    protected abstract int doQueryWorkspaceConfigPropertyCount(
        final com.ourteam.workspace.dao.WorkspaceConfigPropertyDAOQueryBean queryBean)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public int queryWorkspaceConfigPropertyCount(
        final com.ourteam.workspace.dao.WorkspaceConfigPropertyDAOQueryBean queryBean)
        throws Exception {
        try {
            int result = doQueryWorkspaceConfigPropertyCount(queryBean);

            return result;
        } catch (Exception e) {
            logger.error("do queryWorkspaceConfigPropertyCount error", e);
            throw e;
        }
    }

    /**
     *

     * @param queryBean

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceResourceBusinessPackageRelateBean[] doQueryWorkspaceResourceBusinessPackages(
        final com.ourteam.workspace.dao.WorkspaceResourceBusinessPackageRelateDAOQueryBean queryBean)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceResourceBusinessPackageRelateBean[] queryWorkspaceResourceBusinessPackages(
        final com.ourteam.workspace.dao.WorkspaceResourceBusinessPackageRelateDAOQueryBean queryBean)
        throws Exception {
        try {
            com.ourteam.workspace.domain.WorkspaceResourceBusinessPackageRelateBean[] result =
                doQueryWorkspaceResourceBusinessPackages(queryBean);

            return result;
        } catch (Exception e) {
            logger.error("do queryWorkspaceResourceBusinessPackages error", e);
            throw e;
        }
    }

    /**
     *

     * @param queryBean

     * @throws Exception
     */
    protected abstract int doQueryWorkspaceResourceBusinessPackageCount(
        final com.ourteam.workspace.dao.WorkspaceResourceBusinessPackageRelateDAOQueryBean queryBean)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public int queryWorkspaceResourceBusinessPackageCount(
        final com.ourteam.workspace.dao.WorkspaceResourceBusinessPackageRelateDAOQueryBean queryBean)
        throws Exception {
        try {
            int result = doQueryWorkspaceResourceBusinessPackageCount(queryBean);

            return result;
        } catch (Exception e) {
            logger.error("do queryWorkspaceResourceBusinessPackageCount error",
                e);
            throw e;
        }
    }

    /**
     *

     * @param aworkspaceResourceBusinessPackageRelates

     * @throws Exception
     */
    protected abstract void doModifyWorkspaceResourceBusinessPackageRelates(
        final com.ourteam.workspace.domain.WorkspaceResourceBusinessPackageRelateBean[] aworkspaceResourceBusinessPackageRelates)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void modifyWorkspaceResourceBusinessPackageRelates(
        final com.ourteam.workspace.domain.WorkspaceResourceBusinessPackageRelateBean[] aworkspaceResourceBusinessPackageRelates)
        throws Exception {
        try {
            if (aworkspaceResourceBusinessPackageRelates == null) {
                logger.warn(
                    "The Parameter [aworkspaceResourceBusinessPackageRelates] Value is NULL,Exit");

                return;
            }

            doModifyWorkspaceResourceBusinessPackageRelates(aworkspaceResourceBusinessPackageRelates);
        } catch (Exception e) {
            logger.error("do modifyWorkspaceResourceBusinessPackageRelates error",
                e);
            throw e;
        }
    }

    /**
     * $method.remarks

     * @param aWorkspaceProductDatabaseRelate

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceProductDatabaseRelateBean doAddNewWorkspaceProductDatabaseRelate(
        final com.ourteam.workspace.domain.WorkspaceProductDatabaseRelateBean aWorkspaceProductDatabaseRelate)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceProductDatabaseRelateBean addNewWorkspaceProductDatabaseRelate(
        final com.ourteam.workspace.domain.WorkspaceProductDatabaseRelateBean aWorkspaceProductDatabaseRelate)
        throws Exception {
        try {
            if (aWorkspaceProductDatabaseRelate == null) {
                throw new org.apache.commons.lang.NullArgumentException(
                    "The Parameter [aWorkspaceProductDatabaseRelate] Value is NULL");
            }

            com.ourteam.workspace.domain.WorkspaceProductDatabaseRelateBean result =
                doAddNewWorkspaceProductDatabaseRelate(aWorkspaceProductDatabaseRelate);

            return result;
        } catch (Exception e) {
            logger.error("do addNewWorkspaceProductDatabaseRelate error", e);
            throw e;
        }
    }

    /**
     * $method.remarks

     * @param aWorkspaceProductDatabaseRelate

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceProductDatabaseRelateBean doModifyWorkspaceProductDatabaseRelate(
        final com.ourteam.workspace.domain.WorkspaceProductDatabaseRelateBean aWorkspaceProductDatabaseRelate)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceProductDatabaseRelateBean modifyWorkspaceProductDatabaseRelate(
        final com.ourteam.workspace.domain.WorkspaceProductDatabaseRelateBean aWorkspaceProductDatabaseRelate)
        throws Exception {
        try {
            if (aWorkspaceProductDatabaseRelate == null) {
                throw new org.apache.commons.lang.NullArgumentException(
                    "The Parameter [aWorkspaceProductDatabaseRelate] Value is NULL");
            }

            com.ourteam.workspace.domain.WorkspaceProductDatabaseRelateBean result =
                doModifyWorkspaceProductDatabaseRelate(aWorkspaceProductDatabaseRelate);

            return result;
        } catch (Exception e) {
            logger.error("do modifyWorkspaceProductDatabaseRelate error", e);
            throw e;
        }
    }

    /**
     * $method.remarks

     * @param aWorkspaceProductDatabaseRelateIds

     * @throws Exception
     */
    protected abstract void doDeleteWorkspaceProductDatabaseRelates(
        final long[] aWorkspaceProductDatabaseRelateIds)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void deleteWorkspaceProductDatabaseRelates(
        final long[] aWorkspaceProductDatabaseRelateIds)
        throws Exception {
        try {
            doDeleteWorkspaceProductDatabaseRelates(aWorkspaceProductDatabaseRelateIds);
        } catch (Exception e) {
            logger.error("do deleteWorkspaceProductDatabaseRelates error", e);
            throw e;
        }
    }

    /**
     * $method.remarks

     * @param aWorkspaceProductDatabaseRelateId

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceProductDatabaseRelateBean doGetWorkspaceProductDatabaseRelateById(
        final long aWorkspaceProductDatabaseRelateId) throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceProductDatabaseRelateBean getWorkspaceProductDatabaseRelateById(
        final long aWorkspaceProductDatabaseRelateId) throws Exception {
        try {
            com.ourteam.workspace.domain.WorkspaceProductDatabaseRelateBean result =
                doGetWorkspaceProductDatabaseRelateById(aWorkspaceProductDatabaseRelateId);

            return result;
        } catch (Exception e) {
            logger.error("do getWorkspaceProductDatabaseRelateById error", e);
            throw e;
        }
    }

    /**
     * $method.remarks

     * @param queryBean

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceProductDatabaseRelateBean[] doQueryWorkspaceProductDatabaseRelates(
        final com.ourteam.workspace.dao.WorkspaceProductDatabaseRelateDAOQueryBean queryBean)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceProductDatabaseRelateBean[] queryWorkspaceProductDatabaseRelates(
        final com.ourteam.workspace.dao.WorkspaceProductDatabaseRelateDAOQueryBean queryBean)
        throws Exception {
        try {
            com.ourteam.workspace.domain.WorkspaceProductDatabaseRelateBean[] result =
                doQueryWorkspaceProductDatabaseRelates(queryBean);

            return result;
        } catch (Exception e) {
            logger.error("do queryWorkspaceProductDatabaseRelates error", e);
            throw e;
        }
    }

    /**
     * $method.remarks

     * @param queryBean

     * @throws Exception
     */
    protected abstract int doQueryWorkspaceProductDatabaseRelateCount(
        final com.ourteam.workspace.dao.WorkspaceProductDatabaseRelateDAOQueryBean queryBean)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public int queryWorkspaceProductDatabaseRelateCount(
        final com.ourteam.workspace.dao.WorkspaceProductDatabaseRelateDAOQueryBean queryBean)
        throws Exception {
        try {
            int result = doQueryWorkspaceProductDatabaseRelateCount(queryBean);

            return result;
        } catch (Exception e) {
            logger.error("do queryWorkspaceProductDatabaseRelateCount error", e);
            throw e;
        }
    }

    /**
     * $method.remarks

     * @param aWorkspaceProductDatabaseModelRelate

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceProductDatabaseModelRelateBean doAddNewWorkspaceProductDatabaseModelRelate(
        final com.ourteam.workspace.domain.WorkspaceProductDatabaseModelRelateBean aWorkspaceProductDatabaseModelRelate)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceProductDatabaseModelRelateBean addNewWorkspaceProductDatabaseModelRelate(
        final com.ourteam.workspace.domain.WorkspaceProductDatabaseModelRelateBean aWorkspaceProductDatabaseModelRelate)
        throws Exception {
        try {
            if (aWorkspaceProductDatabaseModelRelate == null) {
                throw new org.apache.commons.lang.NullArgumentException(
                    "The Parameter [aWorkspaceProductDatabaseModelRelate] Value is NULL");
            }

            com.ourteam.workspace.domain.WorkspaceProductDatabaseModelRelateBean result =
                doAddNewWorkspaceProductDatabaseModelRelate(aWorkspaceProductDatabaseModelRelate);

            return result;
        } catch (Exception e) {
            logger.error("do addNewWorkspaceProductDatabaseModelRelate error", e);
            throw e;
        }
    }

    /**
     * $method.remarks

     * @param aWorkspaceProductDatabaseModelRelate

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceProductDatabaseModelRelateBean doModifyWorkspaceProductDatabaseModelRelate(
        final com.ourteam.workspace.domain.WorkspaceProductDatabaseModelRelateBean aWorkspaceProductDatabaseModelRelate)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceProductDatabaseModelRelateBean modifyWorkspaceProductDatabaseModelRelate(
        final com.ourteam.workspace.domain.WorkspaceProductDatabaseModelRelateBean aWorkspaceProductDatabaseModelRelate)
        throws Exception {
        try {
            if (aWorkspaceProductDatabaseModelRelate == null) {
                throw new org.apache.commons.lang.NullArgumentException(
                    "The Parameter [aWorkspaceProductDatabaseModelRelate] Value is NULL");
            }

            com.ourteam.workspace.domain.WorkspaceProductDatabaseModelRelateBean result =
                doModifyWorkspaceProductDatabaseModelRelate(aWorkspaceProductDatabaseModelRelate);

            return result;
        } catch (Exception e) {
            logger.error("do modifyWorkspaceProductDatabaseModelRelate error", e);
            throw e;
        }
    }

    /**
     * $method.remarks

     * @param aWorkspaceProductDatabaseModelRelateIds

     * @throws Exception
     */
    protected abstract void doDeleteWorkspaceProductDatabaseModelRelates(
        final long[] aWorkspaceProductDatabaseModelRelateIds)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void deleteWorkspaceProductDatabaseModelRelates(
        final long[] aWorkspaceProductDatabaseModelRelateIds)
        throws Exception {
        try {
            doDeleteWorkspaceProductDatabaseModelRelates(aWorkspaceProductDatabaseModelRelateIds);
        } catch (Exception e) {
            logger.error("do deleteWorkspaceProductDatabaseModelRelates error",
                e);
            throw e;
        }
    }

    /**
     * $method.remarks

     * @param aWorkspaceProductDatabaseModelRelateId

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceProductDatabaseModelRelateBean doGetWorkspaceProductDatabaseModelRelateById(
        final long aWorkspaceProductDatabaseModelRelateId)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceProductDatabaseModelRelateBean getWorkspaceProductDatabaseModelRelateById(
        final long aWorkspaceProductDatabaseModelRelateId)
        throws Exception {
        try {
            com.ourteam.workspace.domain.WorkspaceProductDatabaseModelRelateBean result =
                doGetWorkspaceProductDatabaseModelRelateById(aWorkspaceProductDatabaseModelRelateId);

            return result;
        } catch (Exception e) {
            logger.error("do getWorkspaceProductDatabaseModelRelateById error",
                e);
            throw e;
        }
    }

    /**
     * $method.remarks

     * @param queryBean

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceProductDatabaseModelRelateBean[] doQueryWorkspaceProductDatabaseModelRelates(
        final com.ourteam.workspace.dao.WorkspaceProductDatabaseModelRelateDAOQueryBean queryBean)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceProductDatabaseModelRelateBean[] queryWorkspaceProductDatabaseModelRelates(
        final com.ourteam.workspace.dao.WorkspaceProductDatabaseModelRelateDAOQueryBean queryBean)
        throws Exception {
        try {
            com.ourteam.workspace.domain.WorkspaceProductDatabaseModelRelateBean[] result =
                doQueryWorkspaceProductDatabaseModelRelates(queryBean);

            return result;
        } catch (Exception e) {
            logger.error("do queryWorkspaceProductDatabaseModelRelates error", e);
            throw e;
        }
    }

    /**
     * $method.remarks

     * @param queryBean

     * @throws Exception
     */
    protected abstract int doQueryWorkspaceProductDatabaseModelRelateCount(
        final com.ourteam.workspace.dao.WorkspaceProductDatabaseModelRelateDAOQueryBean queryBean)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public int queryWorkspaceProductDatabaseModelRelateCount(
        final com.ourteam.workspace.dao.WorkspaceProductDatabaseModelRelateDAOQueryBean queryBean)
        throws Exception {
        try {
            int result = doQueryWorkspaceProductDatabaseModelRelateCount(queryBean);

            return result;
        } catch (Exception e) {
            logger.error("do queryWorkspaceProductDatabaseModelRelateCount error",
                e);
            throw e;
        }
    }

    /**
     * $method.remarks

     * @param aWorkspaceResourceUIPageRelate

     * @throws Exception
     */
    protected abstract void doAddNewWorkspaceResourceUIPageRelate(
        final com.ourteam.workspace.domain.WorkspaceResourceUIPageRelateBean aWorkspaceResourceUIPageRelate)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void addNewWorkspaceResourceUIPageRelate(
        final com.ourteam.workspace.domain.WorkspaceResourceUIPageRelateBean aWorkspaceResourceUIPageRelate)
        throws Exception {
        try {
            if (aWorkspaceResourceUIPageRelate == null) {
                throw new org.apache.commons.lang.NullArgumentException(
                    "The Parameter [aWorkspaceResourceUIPageRelate] Value is NULL");
            }

            doAddNewWorkspaceResourceUIPageRelate(aWorkspaceResourceUIPageRelate);
        } catch (Exception e) {
            logger.error("do addNewWorkspaceResourceUIPageRelate error", e);
            throw e;
        }
    }

    /**
     * $method.remarks

     * @param aWorkspaceResourceUIPageRelate

     * @throws Exception
     */
    protected abstract void doModifyWorkspaceResourceUIPageRelate(
        final com.ourteam.workspace.domain.WorkspaceResourceUIPageRelateBean aWorkspaceResourceUIPageRelate)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void modifyWorkspaceResourceUIPageRelate(
        final com.ourteam.workspace.domain.WorkspaceResourceUIPageRelateBean aWorkspaceResourceUIPageRelate)
        throws Exception {
        try {
            if (aWorkspaceResourceUIPageRelate == null) {
                throw new org.apache.commons.lang.NullArgumentException(
                    "The Parameter [aWorkspaceResourceUIPageRelate] Value is NULL");
            }

            doModifyWorkspaceResourceUIPageRelate(aWorkspaceResourceUIPageRelate);
        } catch (Exception e) {
            logger.error("do modifyWorkspaceResourceUIPageRelate error", e);
            throw e;
        }
    }

    /**
     * $method.remarks

     * @param aWorkspaceResourceUIPageRelateIds

     * @throws Exception
     */
    protected abstract void doDeleteWorkspaceResourceUIPageRelates(
        final long[] aWorkspaceResourceUIPageRelateIds)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void deleteWorkspaceResourceUIPageRelates(
        final long[] aWorkspaceResourceUIPageRelateIds)
        throws Exception {
        try {
            doDeleteWorkspaceResourceUIPageRelates(aWorkspaceResourceUIPageRelateIds);
        } catch (Exception e) {
            logger.error("do deleteWorkspaceResourceUIPageRelates error", e);
            throw e;
        }
    }

    /**
     * $method.remarks

     * @param aWorkspaceResourceUIPageRelateId

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceResourceUIPageRelateBean doGetWorkspaceResourceUIPageRelateById(
        final long aWorkspaceResourceUIPageRelateId) throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceResourceUIPageRelateBean getWorkspaceResourceUIPageRelateById(
        final long aWorkspaceResourceUIPageRelateId) throws Exception {
        try {
            com.ourteam.workspace.domain.WorkspaceResourceUIPageRelateBean result =
                doGetWorkspaceResourceUIPageRelateById(aWorkspaceResourceUIPageRelateId);

            return result;
        } catch (Exception e) {
            logger.error("do getWorkspaceResourceUIPageRelateById error", e);
            throw e;
        }
    }

    /**
     * $method.remarks

     * @param queryBean

     * @throws Exception
     */
    protected abstract com.ourteam.workspace.domain.WorkspaceResourceUIPageRelateBean[] doQueryWorkspaceResourceUIPageRelates(
        final com.ourteam.workspace.dao.WorkspaceResourceUIPageRelateDAOQueryBean queryBean)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public com.ourteam.workspace.domain.WorkspaceResourceUIPageRelateBean[] queryWorkspaceResourceUIPageRelates(
        final com.ourteam.workspace.dao.WorkspaceResourceUIPageRelateDAOQueryBean queryBean)
        throws Exception {
        try {
            com.ourteam.workspace.domain.WorkspaceResourceUIPageRelateBean[] result =
                doQueryWorkspaceResourceUIPageRelates(queryBean);

            return result;
        } catch (Exception e) {
            logger.error("do queryWorkspaceResourceUIPageRelates error", e);
            throw e;
        }
    }

    /**
     * $method.remarks

     * @param queryBean

     * @throws Exception
     */
    protected abstract int doQueryWorkspaceResourceUIPageRelateCount(
        final com.ourteam.workspace.dao.WorkspaceResourceUIPageRelateDAOQueryBean queryBean)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public int queryWorkspaceResourceUIPageRelateCount(
        final com.ourteam.workspace.dao.WorkspaceResourceUIPageRelateDAOQueryBean queryBean)
        throws Exception {
        try {
            int result = doQueryWorkspaceResourceUIPageRelateCount(queryBean);

            return result;
        } catch (Exception e) {
            logger.error("do queryWorkspaceResourceUIPageRelateCount error", e);
            throw e;
        }
    }

    /**
     *

     * @param workspaceResourceId

     * @param uiPageIds

     * @throws Exception
     */
    protected abstract void doAddWorkspaceResourceUIPages(
        final long workspaceResourceId, final long[] uiPageIds)
        throws Exception;

    /**
     * $method.description

     * @throws Exception
     */
    public void addWorkspaceResourceUIPages(final long workspaceResourceId,
        final long[] uiPageIds) throws Exception {
        try {
            doAddWorkspaceResourceUIPages(workspaceResourceId, uiPageIds);
        } catch (Exception e) {
            logger.error("do addWorkspaceResourceUIPages error", e);
            throw e;
        }
    }
}
